package com.example.springstudy.guavaAssent;

import com.google.common.base.Preconditions;
import com.google.common.base.Strings;

public class Demon1 {
    public static void main(String[] args) {

        String s = null;
        if (!Strings.isNullOrEmpty("")){
            System.out.println("空");
        }
        Preconditions.checkState(s!=null,"识别");

        System.out.println("成功执行");
    }
}
